<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Administrator Add Application</title>
<link href="../css/common.css" rel="stylesheet" type="text/css" />
<link href="../css/page.css" rel="stylesheet" type="text/css" />
<link href="../css/base.css" rel="stylesheet" type="text/css" />
</head>
<body>
    
	<div class="container">
         <div class="header content">
             <h1 class="lead">Web Project</h1>    
         </div>
		 <div class="main-menu">
			<ul>
				<li><a href="pagetransfer_appAddPage">添加应用</a></li>
				<li><a href="pagetransfer_appsPage">应用列表</a></li>
				<li><a href="pagetransfer_pwdChangePage">修改密码</a></li>
                <li><a href="admin_logout">退出</a></li>
			</ul>
         </div>
		<div class="main-containt">
			<table class="apps">
				<thead>
					<tr>
						<th>名称</th>
						<th>创建时间</th>
						<th>更新时间</th>
						<th>版本</th>
						<th>下载量</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="list" id="app" status="status">
						<tr>
							<td><s:property value="#app.name" /></td>
							<td><s:date format="yyyy年MM月dd日  HH时mm分" name="#app.createdTime"/></td>
							<td><s:date format="yyyy年MM月dd日  HH时mm分" name="#app.updatedTime"/></td>
							<td><s:property value="#app.version" /></td>
							<td><s:property value="#app.downloadCount" /></td>
							<td class="operate"><a
								href="../application_findById?id=<s:property value="#app.id"/>">查看</a>
								<a
								href="pagetransfer_appUpdatePage?id=<s:property value="#app.id"/>">更新</a>
								<a
								href="appchange_deleteApplication?id=<s:property value="#app.id"/>">删除</a></td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
		</div>
	 <div class="bottom_container content">
              Copyright@2012-2013<br>
        </div>
	</div>
	
</body>
</html>